package com.qf.ssm.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author chengqiang
 * @Create 2024-01-02-11:00
 * @Description: 客户
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerSelectVO {

    @ApiModelProperty(value = "客户id")
    private Integer id;

    @ApiModelProperty(value = "客户名")
    private String name;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "身份证号")
    private String idCard;
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )

    @ApiModelProperty(value = "注册时间")
    private Date createDate;

    @ApiModelProperty(value = "消费次数")
    private Integer consumptionNumber;

    @ApiModelProperty(value = "订单名")
    private String orderName;

}
